<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%@ taglib prefix="pg" uri="http://jsptags.com/tags/navigation/pager"%>

<style type="text/css">
	
a{
	font-size:10pt ;
	color:#403040;
	text-decoration:none;

}

			/*鼠标划过*/
			a:hover {
				font-weight: 100;
				font-size: 10pt;
				color:#66bbff;
				text-decoration: none; 
			}
			/*鼠标点击*/
			a:active {
				font: 10pt;
				cursor: hand;
				color:#705faf ;
			}
</style>

<div class="list-pagenav" >
				<pg:pager url="" items="${pm.total}" maxPageItems="${ps}" export="currentPageNumber=pageNumber">
					<pg:first>
						<a  href="javascript:nextPage('${pageUrl}')"><s:text name="首页" /> <!-- 首页 -->
						</a>
					</pg:first>
					<pg:prev>
						<a  href="javascript:nextPage('${pageUrl}')"><s:text name="前页" /> <!-- 前页 -->
						</a>
					</pg:prev>
					<pg:pages>
						<c:choose>
							<c:when test="${currentPageNumber eq pageNumber*1.8}">
								<span style="font-size:10pt;" >${pageNumber }</span>
							</c:when>
							<c:otherwise>
								<a href="javascript:nextPage('${pageUrl}')">${pageNumber }</a>
							</c:otherwise>
						</c:choose>
					</pg:pages>
					<pg:next>
						<a  href="javascript:nextPage('${pageUrl}')"><s:text name="后页" /> <!-- 后页 -->
						</a>
					</pg:next>
					<pg:last>
						<a  href="javascript:nextPage('${pageUrl}')"><s:text name="尾页" /> <!-- 尾页 -->
						</a>
					</pg:last>
				</pg:pager>
</div>
